package edu.its.dreamteam.daf.dao.ibatis;

import edu.its.dreamteam.daf.beans.Manager;
import edu.its.dreamteam.daf.dao.IManagerDao;
import edu.its.dreamteam.daf.dao.ISecurityUserDao;

public class SecurityUserDaoImpl implements ISecurityUserDao {
	private IManagerDao managerDao;
	
	public IManagerDao getManagerDao() {
		return managerDao;
	}

	public Manager authenticateUser(String username, String password) {	
		
		return (Manager) getManagerDao().findUserId(username, password);
	}

}
